package com.jl.web;

import java.util.List;

//封装了当前的页码状态
public class PageBean {
    private Integer pageItem;
    private Long count;
    private Integer currentPage;
    private int pageCount;
    private List<User> users;

    public Integer getPageItem() {
        return pageItem;
    }

    public void setPageItem(Integer pageItem) {
        this.pageItem = pageItem;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }

    @Override
    public String toString() {
        return "com.jl.web.PageBean{" +
                "pageItem=" + pageItem +
                ", count=" + count +
                ", currentPage=" + currentPage +
                ", pageCount=" + pageCount +
                ", users=" + users +
                '}';
    }
}
